import http from '../request'

// 2、定义登录函数接口
export default{
    getAttrInfoList (category1Id,category2Id,category3Id){
        debugger
        return http({
            url: `/admin/product/baseAttr/attrInfoList2/${category1Id}/${category2Id}/${category3Id}`,
            method: 'get'
        })
    },

    saveAttrInfo (baseAttrInfo){
        return http({
            url: `/admin/product/baseAttr/saveAttrInfo`,
            method: 'post',
            data:baseAttrInfo
        })
    },
    getAttrValueList (attrId){
        return http({
            url: `/admin/product/baseAttr/getAttrValueList/${attrId}`,
            method: 'get',
        })
    },

    deleteAttrInfo (attrId){
        return http({
            url: `/admin/product/baseAttr/deleteAttrInfo/${attrId}`,
            method: 'delete'
        })
    },
    
    
}



